package com.lezhi.socialgram.model.friend;

import com.lezhi.socialgram.annotation.Table;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by daizhen on 2017/4/5.
 */
public class Black {
    @NotNull(message = "自己的id不能为null")
    private Long uid;

    @NotNull(message = "对方的id不能为null")
    private Long fid;

    private Integer operation;

    private Date createTime;

    private String desc;

    public Black(Long uid) {
        this.uid = uid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public Integer getOperation() {
        return operation;
    }

    public void setOperation(Integer operation) {
        this.operation = operation;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
